// 路由配置信息

export interface RouteConfig {
  path: string;
  name: string;
  children?: RouteConfig[];
  meta?: {
    title?: string;
    icon?: string;
  };
}

const routes: RouteConfig[] = [
  {
    path: '/',
    name: 'BasicLayout',
    children: [
      {
        path: '/dashboard',
        name: 'Dashboard',
        meta: {
          title: '控制台'
        }
      },
      {
        path: '/users',
        name: 'UserManagement',
        meta: {
          title: '用户管理'
        }
      },
      {
        path: '/settings',
        name: 'Settings',
        meta: {
          title: '系统设置'
        }
      },
      {
        path: '/projects',
        name: 'ProjectManagement',
        meta: {
          title: '项目管理'
        }
      }
    ]
  }
];

export default routes;